package com.dream.utils.image;

import java.util.Map;

import com.dream.utils.system.cfg.SystemConfigUtils;
import com.google.common.collect.Maps;

/**
 * 
 * @copyright evan
 * @author evan
 * @date 2013-9-2
 */
public enum ImagePathType {
	entire,
	thumbnail;
	private final static Map<ImagePathType,String> IMGAGE_PATH = Maps.newHashMap();
	static{
		IMGAGE_PATH.put(entire, SystemConfigUtils.instance().getValue("system.image.entire"));
		IMGAGE_PATH.put(thumbnail, SystemConfigUtils.instance().getValue("system.image.thumbnails"));
		
	} 
	public String getImagePath(){
		
		return IMGAGE_PATH.get(this);
		
	}
}
